package cn.jisol.ngame.sync.state;

import cn.jisol.ngame.actions.state2d.entity.NSyncObjectConfig;
import cn.jisol.ngame.sync.state.body.NSyncBody;
import cn.jisol.ngame.sync.state.body.NSyncBox;

import java.util.Objects;

public class NSyncStateUtil {

    //初始化一个Body
    public static NSyncBody NewSyncBody(NSyncObjectConfig object){
        if(Objects.isNull(object.body)) return null;

//        NSyncBody body;
//
//        switch (object.body.type){
//
//            case Box:
//                body = NewSyncBox();
//
//        }

        return null;

    }

    //初始化一个Box Body
    public static NSyncBox NewSyncBox(){

        return null;

    }

}
